package com.itheima.user.service;

import com.itheima.common.entity.Result;

import java.util.Map;

public interface OrderService {
    /**
     * 预约
     * @param map
     * @return
     * @throws Exception
     */
    Result order(Map map) throws Exception;

    /**
     * 预约成功
     * @param id
     * @return
     * @throws Exception
     */
    Map findById(Integer id) throws Exception;
}
